package com.evzgaga.evzrecon.launcher;

import com.evzgaga.evzrecon.pluginmanager.PluginManager;
import com.evzgaga.evzrecon.xmlrpc.client.GbxRemoteConnection;
import java.util.logging.LogManager;

public class App {

    public static void main(String[] args) throws Exception {
        LogManager.getLogManager().readConfiguration(App.class.getClassLoader().getResourceAsStream("logging.properties"));
        GbxRemoteConnection connection = new GbxRemoteConnection("localhost", 5000);
        connection.callRemoteMethod("Authenticate", "Admin", "Admin");
        
        new PluginManager(connection).loadVitalPlugins();
    }
}
